package hn.cch.service.impl;

import hn.cch.dao.PlayDao;
import hn.cch.model.Play;
import hn.cch.service.PlayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by chench on 2020-5-21.
 */

@Component(value = "playService")
public class PlayServiceImpl implements PlayService {

    @Autowired
    private PlayDao playDao;

    public List<Play> getAll(){
        return playDao.getAll();
    }
}
